﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using envir2plotwatt.GUI;

namespace envir2plotwatt
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            TheDoc doc = new TheDoc();
            Main form = new Main(doc);

            doc.SetDisplayOutput(form.DisplayReceivedData);

            Application.Run(form);
        }
    }
}
